package study.member.wildflow;

public class Quiz_20141119 {
	public static void main(String[] args)	{
		int	a = 10;
				
		while (true)	{
			int b = 1, c = 2, d = 3, e = 4, f = 5, g = 6, h = 7, i = 8, j = 9, k = 10;
			
			b = a % b;
			c = a % c;
			d = a % d;
			e = a % e;
			f = a % f;
			g = a % g;
			h = a % h;
			i = a % i;
			j = a % j;
			k = a % k; 
			
			if (b + c + d + e + f + g + h + i + j + k == 0)	{
				System.out.println(a);
				break;
			}
			
			a = ++a;
		}
	}
}
